package com.ruoyi.warning.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 虚拟机资产日志表
 * </p>
 *
 * @author chenhc
 * @since 2025-08-28
 */
@Getter
@Setter
@TableName("property_vminfo_log")
public class PropertyVminfoLog implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 日志id
     */
    @TableId(value = "log_id", type = IdType.AUTO)
    private Integer logId;

    /**
     * 资产id
     */
    private Integer propertyId;

    /**
     * cpu利用率
     */
    private Integer processorsUsage;

    /**
     * 内存利用率
     */
    private Integer memoryUsage;

    /**
     * 读iops
     */
    private Integer readIops;

    /**
     * 写iops
     */
    private Integer writeIops;

    /**
     * 插入时间
     */
    private LocalDateTime inserted;
}
